package com.allwees.bs.core.model.order.entity;

import com.allwees.bs.core.modelbase.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@MappedSuperclass
public class OrderReviewItemModel extends BaseEntity implements Serializable {
    //订单ID
    @Column(length = 64)
    private String orderUuid;

    @Column(length = 64)
    private String orderReviewUuid;

    @Column(length = 64)
    private String userUuid;

    private String userEmail;

    private String userFirstName;

    private String userLastName;

    private String userAvatar;

    private String userPhone;

    private String userLanguage;

    private Integer userCountry;

    @Column(length = 64)
    private String productUuid;

    @Column(length = 64)
    private String skuUuid;

    //评分 1到5
    private Integer rating = 5;

    //留言内容

    private String text;

    //图片
    private String photos;
}
